package cn.jobstart.common.fileUpload.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author sunke
 * @version 1.0
 * @Description
 * @date 2023-08-23 15:26
 */
@Data
@ApiModel("文件分片")
public class FilePartUploadDTO {

    @ApiModelProperty("文件片")
    private MultipartFile filePart;
    @ApiModelProperty("当前片")
    private int partIndex;
    @ApiModelProperty("文件总片数")
    private int partNum;
    @ApiModelProperty("上传的目录")
    private String frontStr;
    @ApiModelProperty("文件名带后缀")
    private String fileName;
    @ApiModelProperty("文件唯一识别ID")
    private String fileUid;
}
